package com.example.personalizededucationsystem.utils;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class PagedResult<T> {
    private List<T> data;
    private long total;

    public PagedResult(List<T> content, long totalElements) {
        this.data = content;
        this.total = totalElements;
    }
}

